package com.wskj.system.mapper;

import com.wskj.common.core.mybatisplus.core.BaseMapperPlus;
import com.wskj.system.domain.SysVersion;
import org.apache.ibatis.annotations.Param;

/**
 * 版本Mapper接口
 *
 * @author wsdz
 * @date 2023-02-22
 */
public interface SysVersionMapper extends BaseMapperPlus<SysVersion> {

    int getMaxVersionMajor(@Param("type")Integer type,@Param("status")Integer status);

    int getMaxVersionMinor(@Param("type")Integer type,@Param("versionMajor")Integer versionMajor,@Param("status")Integer status);

    int getMaxVersionPatch(@Param("type")Integer type,@Param("versionMajor")Integer versionMajor,@Param("versionMinor")Integer versionMinor,@Param("status")Integer status);
}
